//
//  TestTypeTableCell.m
//  YeeShopProject
//
//  Created by Yee on 2017/6/19.
//  Copyright © 2017年 CoderYee. All rights reserved.
//

#import "TestTypeTableCell.h"

@implementation TestTypeTableCell
-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    
    
    if (self=[super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        
        self.textLabel.textColor=[UIColor blackColor];
        self.textLabel.font=[UIFont systemFontOfSize:16];
        self.detailTextLabel.font=[UIFont systemFontOfSize:14];
        self.detailTextLabel.textColor=[UIColor grayColor];
        self.detailTextLabel.text=@"";
        self.detailTextLabel.textAlignment=NSTextAlignmentRight;
        self.textLabel.text=@"协作范围";
        self.accessoryType=UITableViewCellAccessoryDisclosureIndicator;

    }

    return self;
}
-(void)configTableView:(UITableView *)tableView withindexPath:(NSIndexPath *)indexPath{
    
  
    if (indexPath.row==1) {
    
        self.textLabel.text=@"事件日期";
        
    }else if (indexPath.row==2){
        self.textLabel.text=@"协作类型";

        
    }else if (indexPath.row==3){
        
        self.textLabel.text=@"协作范围";
 
    }else if (indexPath.row==4){
        
        self.textLabel.text=@"被协作对象";

        
    }else if (indexPath.row==5){
        self.textLabel.text=@"事件日期";

        
    }else if (indexPath.row==6){
        self.textLabel.text=@"事件日期";

        
    }else if (indexPath.row==7){
        self.textLabel.text=@"事件日期";
  
        
    }
    
}


@end
